package com.unicomcz.login;

import java.util.HashMap;
import java.util.List;

public class UserInfo
{
   private String userId;
   private String password;
   private String verifyCode;
   private String userName;
   private String email;
   private String mobile;
   private String userLevel;
   private String jfTask;
   private String qx;
   private String xhurl;
   private boolean login = false;
   private String departId;
   private String departCode;
   private List priv;
   private String[] privName;
   private String deptName;
   

   
/**
 * @return the deptName
 */
public String getDeptName()
{
    return deptName;
}
/**
 * @param deptName the deptName to set
 */
public void setDeptName(String deptName)
{
    this.deptName = deptName;
}
public String[] getPrivName() {
	return privName;
}
public void setPrivName(String[] privName) {
	this.privName = privName;
}
public List getPriv() {
	return priv;
}
public void setPriv(List priv) {
	this.priv = priv;
}
/**
 * @return the departId
 */
public String getDepartId()
{
    return departId;
}
/**
 * @param departId the departId to set
 */
public void setDepartId(String departId)
{
    this.departId = departId;
}
/**
 * @return the departCode
 */
public String getDepartCode()
{
    return departCode;
}
/**
 * @param departCode the departCode to set
 */
public void setDepartCode(String departCode)
{
    this.departCode = departCode;
}
public String getQx()
{
    return qx;
}
public void setQx(String qx)
{
    this.qx = qx;
    if (qx.compareTo("53102")==0) {
        setXhurl("http://ca.unicomcz.com/xh/ca.jsp");
    }else if (qx.compareTo("53103")==0) {
        setXhurl("http://rp.unicomcz.com/xh/rp.jsp");
    }else  {
        setXhurl("http://sq.unicomcz.com/xh/sq.jsp");
    }
}
public String getXhurl()
{
    return xhurl;
}
public void setXhurl(String xhurl)
{
    this.xhurl = xhurl;
}
public String getEmail()
{
    return email;
}
public void setEmail(String email)
{
    this.email = email;
}
public String getMobile()
{
    return mobile;
}
public void setMobile(String mobile)
{
    this.mobile = mobile;
}
public String getUserName()
{
    return userName;
}
public void setUserName(String userName)
{
    this.userName = userName;
}
public String getUserLevel()
{
    return userLevel;
}
public void setUserLevel(String userLevel)
{
    this.userLevel = userLevel;
}
public String getJfTask()
{
    return jfTask;
}
public void setJfTask(String jfTask)
{
    this.jfTask = jfTask;
}

public String getUserId()
{
    return userId;
}
public void setUserId(String userId)
{
    this.userId = userId;
}
public String getPassword()
{
    return password;
}
public void setPassword(String password)
{
    this.password = password;
}
public String getVerifyCode()
{
    return verifyCode;
}
public void setVerifyCode(String verifyCod)
{
    this.verifyCode = verifyCod;
}
public boolean isLogin()
{
    return login;
}
public void setLogin(boolean login)
{
    this.login = login;
}
}
